﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DongFangGuoKai.WMSPlatform.Core.Migrations
{
    public partial class M8 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "t_QueceRecard",
                columns: table => new
                {
                    Id = table.Column<int>(type: "int", nullable: false, comment: "主键")
                        .Annotation("SqlServer:Identity", "1, 1"),
                    BillId = table.Column<int>(type: "int", nullable: false, comment: "收货单ID"),
                    BillNO = table.Column<string>(type: "varchar(50)", unicode: false, maxLength: 50, nullable: true, comment: "收货单号"),
                    Number = table.Column<int>(type: "int", maxLength: 50, nullable: false, comment: "排号"),
                    CounterNo = table.Column<string>(type: "varchar(50)", unicode: false, maxLength: 50, nullable: true, comment: "窗口号")
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_t_QueceRecard", x => x.Id);
                },
                comment: "排队记录表");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "t_QueceRecard");
        }
    }
}
